package com.huibur.devicecheck.model.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

/*******************************************************
* @title: AssignTaskPO.java
* @description:
* @author wushiqi
* @date 2021/9/29
* @version 1.0
*******************************************************/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@TableName("assign_task")
public class AssignTaskPO {

    @TableId(value = "id" ,type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 设备ID
     */
    @TableField("device_id")
    private Long deviceId;

    @TableField("create_at")
    private Timestamp createAt;

    @TableField("create_by")
    private Long createBy;

    /**
     * 0: 正常 1：删除
     */
    @TableField("is_deleted")
    private Integer isDeleted;
}
